requirejs.config({
    baseUrl: '../js/libs',
    paths: {
        jquery2: '../plugins/fileinput/js/jquery-2.1.1.min',
        bootstrap: "../../bootstrap-3.3.5/dist/js/bootstrap.min",
        config: "../common/config",
        common: "../common/common",
        arttemplateUtil: '../common/arttemplate-util',
        
        filer: '../plugins/fileinput/js/jquery.filer.min',
        prettify: '../plugins/fileinput/js/prettify',
        scripts: '../plugins/fileinput/js/scripts',
        custom: '../plugins/fileinput/js/custom'


    },
    shim: { //引入没有使用requirejs模块写法的类库。backbone依赖underscore
        'jquery': {
            exports: '$'
        },
        'bootstrap': ['jquery']
    }
});
requirejs(['jquery2', 'bootstrap', 'config', 'arttemplateUtil', 'common', 'filer', 'prettify', 'scripts', 'custom'], function($, bootstrp, config, arttemplateUtil, common, filer, prettify, scripts, custom) {

    /**
     * Created by linyamei on 2016/8/25.
     */
    var app = {
        init: function() {

            app.rendTemple();
            
        },
        /**
         * 
         * @return {[type]} [description]
         */
        rendTemple: function() {

        }

    }



    app.init();
});
